<%-- 
    Document   : Profile
    Created on : May 21, 2013, 9:38:31 AM
    Author     : Jung Jin Hyuk
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="shortcut icon" href="resources/images/icon-viec-lam.ico" />	
        <link type="text/css" rel="stylesheet" href="resources/style/style.css">
        <link type="text/css" rel="stylesheet" href="resources/style/tableDisplay.css">
        <title>Recruitment Process System</title>
    </head>
    <body>

        <!-- begin header-->
        <div id="header">
            <!-- begin top header-->
            <div id="line_top">
                <div class="container">                   
                    <p class="sovl">The number of jobs:<strong>7299</strong></p>
                     <c:set value="${username}" var="userName"></c:set>
                    <c:if test="${empty userName}">
                        <p class="submenu"><a href="#">Contact</a> | <a href="loginServlets">Sign in</a> | <a href="account">Sign up</a></p>
                    </c:if>    
                        <c:if test="${not empty userName}">
                        <p class="submenu">Welcome ${userName.account} | <a href="LogoutServlet">Log Out</a> | <a href="#">Contact</a>  </p>
                    </c:if>     
                </div>
            </div>
            <div id="top_header">
                <div class="container">
                    <img class="logo" src="resources/images/logo.jpg" />
                    <img class="adv" src="resources/images/banner1.jpg" />
                </div>
            </div>
            <!-- begin menu top-->
            <div id="nav">
                <div class="container">
                    <img class="home" src="resources/images/home.jpg" />
                    <ul>
                        <li ><a href="index.jsp">Home page</a></li>
                        <li><a href="#">Candidates</a></li> <!--Người tìm việc--->
                        <li><a href="#">Recruiters</a></li><!--Nhà tuyển dụng--->
                        <li><a href="#">Personnel supply</a></li><!--Cung ứng nhân sự--->
                    </ul>

                </div>
            </div>
        </div>
        <div class="clear"></div>

        <!-- begin content page-->
        <div id="content">
            <div class="container">
                <!-- begin slide images -->
                 <hr style="width: 1200px"/>
                <!-- begin slide news-->
                <div id="slide_news">
                    <div class="sn_col">
                        <h2>Document forms</h2>
                        <div class="col_content">
                            <a href="#"><img src="resources/images/tailieu.jpg" /></a>
                            <p>For many young people, the biggest challenge facing the job interview ...</p>
                        </div>
                    </div>
                    <div class="sn_col">
                        <h2>Create Profile</h2>
                        <div class="col_content">
                            <a href="CreateProfile"><img src="resources/images/hoso.jpg" /></a>
                            <p>For many young people, the biggest challenge facing the job interview ...</p>
                        </div>
                    </div>
                    <div class="sn_col">
                        <h2>Work Informations</h2>
                        <div class="col_content">
                            <a href="CreateVacancy"><img src="resources/images/thongtin.jpg" /></a>
                            <p>For many young people, the biggest challenge facing the job interview ...</p>
                        </div>
                    </div>
                    <div class="sn_col">
                        <h2>Job Search Diary</h2>
                        <div class="col_content">
                            <a href="#"><img src="resources/images/nhatky.jpg" /></a>
                            <p>For many young people, the biggest challenge facing the job interview ...</p>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
                <!-- begin viec lam-->
                <div id="work">
                    <div CLASS="work1_top">
                        <h3> Search a job</h3>
                        <form action="SearchWork" method="POST">
                            <div class="search">
                                <select name="sCity" class="selectSearch">
                                    <option value="none">Choose Province/City</option><!-- Chọn Tỉnh Thành Phố-->
                                    <c:forEach items="${listWP}" var="wp">
                                        <option value="${wp.workplaceId}">${wp.workplaceName}</option>
                                    </c:forEach>                           
                                </select>
                                <select name="sCategory" class="selectSearch">
                                    <option value="none">Choose a Industry</option>
                                    <c:forEach items="${listC}" var="c">
                                        <option value="${c.categoryId}">${c.categoryName}</option>
                                    </c:forEach>                                                                             
                                </select>
                                <select name="sSalary" class="selectSearch">
                                    <option value="none">Choose Salary Grade</option>
                                    <option value="d1tr">Below 1000.000 vnd</option>
                                    <option value="1d5tr">1000.000->5000.000 vnd</option>
                                    <option value="5d8tr">5000.000->8000.000 vnd</option>
                                    <option value="8d10tr">8000.000->10.000.000 vnd</option>
                                    <option value="10d15tr">10.000.000->15.000.000 vnd</option>
                                    <option value="t15tr">Above 15.000.000 vnd</option>

                                </select>
                                <select name="sExp" class="selectSearch">
                                    <option value="none">Choose Year of Experience</option>
                                    <option value="0">None</option>
                                    <option value="1">1 year</option>
                                    <option value="2">2 years</option>
                                    <option value="3">3 years</option>
                                    <option value="4">4 years</option>
                                    <option value="5">5 years</option>
                                    <option value="6">Above 5 years</option>                                                      
                                </select>
                                <input type="submit" value="Search" name="sr" style="width: 100px;height: 30px;color: #0a81f7; margin-top: 5px;" />
                            </div>
                        </form>
                    </div>
                    <div CLASS="work1_mid">                    
                            <div class="viec">   
                                <h1 class="chinh"> General Information </h4>
                                <div class="profile">
                                    <form action="CreateProfile" method="post">
                                    <div style="color: red;margin-left: 300px;font-size: 20px"> <b>CREATE PROFILE</b></div>
                                    <hr style="width: 600px"/>
                                    <div style="margin-left: 35px"><label>Year Experience:</label><input type="text" name="yearEx"/></div>
                                    <div style="margin-left: 10px"><label>Language Proficiency</label>
                                        <select name="Language" class="selectSearch">
                                            <option value="none">Choose Language</option>
                                            <option value="0">English</option>
                                            <option value="1">Chinese</option>
                                            <option value="2">French</option>
                                            <option value="3">Russian</option>
                                            <option value="4">Korean</option>
                                            <option value="5">Vietnamese</option>
                                            <option value="6">Japanese</option>  
                                            <option value="7">Orther</option>
                                        </select>
                                         <select name="Language" class="selectSearch">
                                            <option value="none">Choose Proficiency</option>
                                            <option value="0">Elementary</option>
                                            <option value="1">Intermediated</option>
                                            <option value="2">Advanced</option>
                                            <option value="3">Native language</option>                                          
                                        </select>
                                    </div>
                                    <div style="margin-left: 37px"><label>Desired Location</label><input type="text" name="desired"/></div>
                                    <div style="margin-left: 38px"><label>Position Desired</label>
                                        <select name="position" class="selectSearch">
                                            <option value="none">Choose Language Proficiency</option>
                                            <option value="0">Mới tốt nghiệp/Thực tập sinh</option>
                                            <option value="1">Nhân Viên</option>
                                            <option value="2">Trưởng Nhóm/Giám sát</option>
                                            <option value="3">Trưởng Phòng</option>
                                            <option value="4">Phó Giám Đốc</option>
                                            <option value="5">Giám Đốc</option>
                                            <option value="6">Tổng Giám Đốc</option>  
                                            <option value="7">Phó chủ tịch</option>
                                            <option value="7">Chủ Tịch</option>
                                        </select>
                                    </div>
                                    <div style="margin-left: 65px"><label>Work place</label><input type="text" name="place"/></div>
                                    <div style="margin-left: 65px"><label>Professions</label><input type="text" name="profession" /></div>
                                    <div style="margin-left: 50px"><label>Desired Salary</label><input type="text" name="salary" />(USD)/month</div>
                                    <div style="margin-left: 50px"><label>Career Goals</label><br /><textarea rows="5" cols="50" style="margin-left: 78px"></textarea></div>
                                    <div style="margin-left: 10px"><label>Outstanding Achievement:</label><br /><textarea rows="5" cols="50" style="margin-left: 115px"></textarea></div>
                                    <div style="margin-left: 90px"><label>Majors</label><input type="text" /></div>
                                   <div style="margin-left: 35px"><label>OtherQualifications</label><br /><textarea rows="5" cols="50" style="margin-left: 90px"></textarea></div>
                                   <div style="margin-left: 35px"><label>InforContact</label><br /><textarea rows="5" cols="50" style="margin-left: 90px"></textarea></div>
                                   <div style="margin-left: 45px"><label>Upload Profile:</label><input type="file"></div>
                                   <br />
                                   <hr style="width: 600px;"/>
                                   <div><input type="button" value="Create Profile" style="color: blue;margin-left: 120px"/>
                                       <input type="Reset" value="Reset" style="color: blue;"/>
                                   </div>
                                    </form>
                                </div>
                            </div>
                    </div>
                    <div CLASS="work1_bot">   
                        <h5> Advertisement</h5>
                        <div class="quangcao">
                            <a href="#"><img src="resources/images/quangcao.gif" style="width: 200px" /></a>                       
                            <a href="#"><img src="resources/images/quangcao3.png" style="width: 200px;height: 240px" /></a>
                            <a href="#"><img src="resources/images/quangcao.png" style="width: 200px;height: 200px" /></a>
                        </div>
                    </div>
                </div>
            </div>

            <div id="footer">
                <h6>@copyright FPT Aptech</h6>
                <h6>Email: quangcao@c1104g.g1.vn</h6>
                <h6> Tel: 844 39748899 Ext:2222 </h6>
                <h6>Website: www.c1104g-g1.vn</h6>
            </div>

    </body>
</html>

